/**
 * 
 */
package com.seascape.swms.base.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.seascape.swms.base.model.GoodsType;
import com.seascape.swms.base.service.GoodsTypeService;
import com.seascape.swms.framework.service.BaseService;
import com.seascape.swms.framework.web.BaseController;

import io.swagger.annotations.Api;

/**
 * @author Lay
 *
 */
@Api("货物类别接口")
@RestController
@RequestMapping("/goodstypes")
public class GoodsTypeController extends BaseController<GoodsType>{
	
	@Autowired
	private GoodsTypeService goodsTypeService;

	/* (non-Javadoc)
	 * @see com.seascape.swms.framework.web.BaseController#getBaseService()
	 */
	@Override
	protected BaseService<GoodsType> getBaseService() {
		return goodsTypeService;
	}

}
